[PATCH] fix(TemplateTable): use float operations for fast_xaccess() and fstore()...
authorVladimir Petko <vladimir.petko@canonical.com>
Mon, 6 Jul 2026 21:58:32 +0000 (09:58 +1200)
committerMoritz Muehlenhoff <jmm@debian.org>
Wed, 19 Aug 2026 17:55:58 +0000 (19:55 +0200)
From b9ea4636bea0f6264b2c602e4203e8e604d8da6e Mon Sep 17 00:00:00 2001
Bug: https://bugs.openjdk.org/browse/JDK-8387580
Origin: upstream, https://github.com/openjdk/jdk/commit/978dfecb6545166aee93a8e68c9c82535b0cb3e2

Gbp-Pq: Name jdk-8387580.diff

src/hotspot/cpu/s390/templateTable_s390.cpp

index 689c760567593e831eca5323deaaaccea22fefcb..12ebf2878bf244c4b2793b37b28dcb27e0964a9f 100644 (file)
@@ -1042,7 +1042,7 @@ void TemplateTable::lstore() {
 void TemplateTable::fstore() {
   transition(ftos, vtos);
   locals_index(Z_R1_scratch);
-  __ freg2mem_opt(Z_ftos, faddress(_masm, Z_R1_scratch));
+  __ freg2mem_opt(Z_ftos, faddress(_masm, Z_R1_scratch), false);
 }
 
 void TemplateTable::dstore() {
@@ -3418,7 +3418,7 @@ void TemplateTable::fast_xaccess(TosState state) {
       __ verify_oop(Z_tos);
       break;
     case ftos:
-      __ mem2freg_opt(Z_ftos, Address(receiver, index));
+      __ mem2freg_opt(Z_ftos, Address(receiver, index), false);
       break;
     default:
       ShouldNotReachHere();